//消息提示
function msgAlert(text) {
    swal({
        title: "提示",
        text: text
    });
}

//删除提示
function delAlert(callBack){
    swal({
        title: "删除提示",
        text: "删除后无法恢复",
        type: "warning",
        showCancelButton: true,
        confirmButtonColor: "#DD6B55",
        confirmButtonText: "是",
        closeOnConfirm: false
    }, callBack);
}